package com.suda.sudaexamsystem.mapper;

import com.suda.sudaexamsystem.pojo.QuestionType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface QuestionTypeMapper {
    // 查询类型
    QuestionType findById(int typeId);

    // 查询所有类型
    List<QuestionType> findAll();
}
